package com.report.dto.request;

import cn.zhxu.bs.SearchResult;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zmh.framework.sys.dto.request.common.PageResponseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author summer
 * @version 1.0
 * @date 2024/8/2 11:41
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MemberReq extends PageResponseDTO implements Serializable {

    private String name;

    private String phone;

    private String idNum;

    private Integer ruleId;

    private Integer id;

    private String nickName;

    private String avatarUrl;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate effectiveTime;
}
